package com.zhao.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zhao.bean.Category;
import com.zhao.bean.PageParam;

import java.util.List;

public interface CategoryService {
    //新增
    int add(Category category);
    //分页
   IPage<Category> find(PageParam pageParam);
    //删除
   int delete(long id);
   //修改
   int update(Category category);
   //查询
    List<Category> locating(int type);
}
